﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Usas.BLL.Cms
{
    public class UsasDB
    {
        private readonly Usas.DAL.Cms.UsasDB dal = new Usas.DAL.Cms.UsasDB();

        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetEmpDepTrees()
        {
            return dal.GetEmpDepTrees();
        }


        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetRoleDepTrees(string where)
        {
            return dal.GetRoleDepTrees(where);
        }

        public DataSet GetRoleDepEmpInfo(string dpt, string role, string emp)
        {
            return dal.GetRoleDepEmpInfo(dpt,role,emp);
        }

        public DataSet GetRoleDepEmpInfoByTag(string dpt, string role, string emp)
        {
            return dal.GetRoleDepEmpInfoByTag(dpt, role, emp);
        }
        public DataSet SelEmployees(string where)
        {
            return dal.SelEmployees(where);
        }
    }
}
